Skip to content

feat(java): detect JNDI LDAP referral-follow policy forwarding credentials (CWE-522) - #122

Open
ai-anant wants to merge 1 commit into
CodeVigilant:mainfrom
ai-anant:rule/java-ldap-referral-follow
Open

feat(java): detect JNDI LDAP referral-follow policy forwarding credentials (CWE-522)#122
ai-anant wants to merge 1 commit into
CodeVigilant:mainfrom
ai-anant:rule/java-ldap-referral-follow

Conversation

@ai-anant

Copy link
Copy Markdown

Detects JNDI LDAP environments where the referral policy is set to follow (Context.REFERRAL or 'java.naming.referral' set to 'follow', including via a conditional expression). With referral following enabled, the LDAP client re-issues operations - including bind credentials - against referred servers, which may be attacker-influenced. The rule is silent when referrals are ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant